package com.hoshiibuy.dictionary.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoshiibuy.dictionary.mapper.IDicCurrSetMapper;
import com.hoshiibuy.dictionary.service.IDicCurrSetSerivce;
import com.hoshiibuy.dictionary.entity.DicCurrSetVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author guangjinwei
 * @create 2019-04-18
 */
@Service
public class DicCurrSetSerivceImpl extends ServiceImpl<IDicCurrSetMapper, DicCurrSetVo> implements IDicCurrSetSerivce {
    @Override
    public List<DicCurrSetVo> findDicCurrSetList() {
        return baseMapper.findDicCurrSetList();
    }

    @Override
    public void saveDicCurrSet(DicCurrSetVo dicCurrSetVo) {
        baseMapper.insert(dicCurrSetVo);
    }
}
